package com.partners.service;

import com.partners.dao.dto.RoleInputDTO;
import com.partners.model.Paging;

import java.util.List;
import java.util.Map;

/**
 * @author liangyongle
 * @date 2018-12-07
 */
public interface RoleService {


    Map<String,Object> getRoleDetail(Integer Id);

    Integer deleteRole(Integer id);


    Map<String,Object> getRoleList(Paging paging, String name);

    void editRole(RoleInputDTO roleInputDTO);

    Map<String,Object> getMyRoleList(Paging paging, Integer pid);

    Map<String,Object> getRoleUserList(Paging paging, Integer id);
}
